﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo
{
    class Person
    {
        private int id;
        private string name;
        private char sex;
        private string cardid;
        private string tel;
        public int Id
        {
            get { return this.id; }
            set { this.id = value; }
        }
        public string Name
        {
            get { return this.name; }
            set { this.name = value; }
        }
        public char Sex
        {
            get { return this.sex; }
            set { this.sex = value; }
        }
        public string Cardid
        {
            get { return this.cardid; }
            set { this.cardid = value; }
        }
        public string Tel
        {
            get { return this.tel; }
            set { this.tel = value; }
        }
        public void student(int id, string name, char sex, string carid, string tel)
        {
            this.id = id;
            this.name = name;
            this.sex = sex;
            this.cardid = carid;
            this.tel = tel;
        }
    }
}
